package com.example.bigeventMaven.test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by 10446 on 2017/9/8.
 */
@RestController
public class JDBCController {
    @Autowired
    private JDBCService jdbcService ;


    @RequestMapping("/test")
    public List getId(){
        return jdbcService.getList();

    }
}
